package com.by.mapper;

import com.by.bean.Forwarder;
import com.by.bean.ForwarderQuoteList;
import com.by.common.crud.BaseMapper;
import com.by.common.crud.BaseService;
import com.by.query.ForwarderQuery;
import com.by.query.FreightInquiryQuery;
import com.by.service.impl.ForwarderQuoteListService;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

@Mapper
public interface ForwarderQuoteListMapper extends BaseMapper<ForwarderQuoteList> {
    /**
     * 查询货代列表
     * @param query
     * @return
     */
    List<Map> query(FreightInquiryQuery query);


    ForwarderQuoteList forwarderQuoteList(@Param("quote_coding") String quote_coding);


    /**
     * 查询当月最大编码
     * @return
     */
    String queryMaxCode();

}
